#include<iostream>
#include<string>
using namespace std;

void test1()
{
	string str("abc Please, replace the vowels in this sentence by asterisks.");
	size_t found = str.find("abc");
	while (found != str.npos)
	{
		str[found] = '*';
		found = str.find_first_of("abc", found + 1);
	}
	cout << str << endl;
}

int main()
{
	test1();
	return 0;
}